<?php
    include '../../../controlador/php/conexion/Conexion.php';
    $con = new Conexion();
    
    $oid = $_REQUEST['oid'];
    $mecanismo = $_REQUEST['mecanismo'];
    
    
    $md = "update dnmecanisdet
           set mecnombre = '".$mecanismo."'
           where mecoid = ".$oid;
    $con->query($md);
    
    $con->cerrarConexion();
    
?>
